﻿// ===============================================================================
// XCI.NET 西安交通信息WinForm开发框架 2018 版权所有
// ===============================================================================

using XCI.Config;

namespace XCI.Sys.Settings
{
    /// <summary>
    /// 全屏登录窗口配置
    /// </summary>
    public class LoginFullSetting
    {
        private static LoginFullSetting _instance;
        /// <summary>
        /// 配置对象
        /// </summary>
        public static LoginFullSetting Instance
        {
            get { return _instance ?? (_instance = ConfigFactory.Default.Get("LoginFull", () => new LoginFullSetting())); }
        }

        /// <summary>
        /// 记住密码
        /// </summary>
        public bool IsRememberPassword { get; set; }

        /// <summary>
        /// 自动登陆
        /// </summary>
        public bool AutoLogin { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string RememberLoginName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string RememberPassword { get; set; }

    }
}